import { get,post } from '../http';

/**
 * 流转卡拆分
 * @returns 
 *    getFlowCode  根据 流转卡号 查询 信息 
 *    saveToSplit  拆分保存   
 *     
 */
export function circulat(){ 
  return {
    getFlowCode:(params:any) => {  
        return post({
            url:'/aps/circulatCard/getDataByCode',
            data:params,
        })
    },
    saveToSplit:(params:any) => {
        return post({
            url:'/aps/circulatCard/splitSave',
            data:params,
        })
    },
    getSplitCount:(params:any) => {
         return post({
            url:'/aps/circulatCard/getSplitCount',
            data:params,
         })
    }
  }
};